#ifndef _SORT_H_
#define _SORT_H_
#include <stdlib.h>
#include <string.h>

int issort(void *data, int size, int esize, int (*compare)(const void *key1, const void *key2));
int qksort(void *data, int size, int esize, int is, int ie, int (*compare)(const void *key1, const void *key2));
int partition(void *data, int size, int esize, int idx_start, int idx_end, int (*compare)(const void *key1, const void *key2));
#endif /*_SORT_H_*/

